package com.yalu.entity.data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yalu.entity.base.BaseEntity;

@Entity
@Table(name = "sales")
public class Sales extends BaseEntity{
	private static final long serialVersionUID = 619134342546491371L;
	
	private String datadate;
	private int store_id;
	private String name;
	private float base_prices;
	private float sell_prices;
	private int items;

	private int isdeleted;
	private String createdt;// 
	private int createby;// 
	private String updatedt;// 
	private Integer updateby;// 
	
	private SalesKey salesKey;
	@Id
	public SalesKey getSalesKey() {
		return salesKey;
	}
	public String getDatadate() {
		return datadate;
	}
	
	public int getIsdeleted() {
		return isdeleted;
	}

	public void setDatadate(String datadate) {
		this.datadate = datadate;
	}
	public int getStore_id() {
		return store_id;
	}
	public void setStore_id(int store_id) {
		this.store_id = store_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getBase_prices() {
		return base_prices;
	}
	public void setBase_prices(float base_prices) {
		this.base_prices = base_prices;
	}
	public float getSell_prices() {
		return sell_prices;
	}
	public void setSell_prices(float sell_prices) {
		this.sell_prices = sell_prices;
	}
	public int getItems() {
		return items;
	}
	public void setItems(int items) {
		this.items = items;
	}
	public String getCreatedt() {
		return createdt;
	}
	public void setCreatedt(String createdt) {
		this.createdt = createdt;
	}
	public int getCreateby() {
		return createby;
	}
	public void setCreateby(int createby) {
		this.createby = createby;
	}
	public String getUpdatedt() {
		return updatedt;
	}
	public void setUpdatedt(String updatedt) {
		this.updatedt = updatedt;
	}
	public Integer getUpdateby() {
		return updateby;
	}
	public void setUpdateby(Integer updateby) {
		this.updateby = updateby;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	public void setSalesKey(SalesKey salesKey) {
		this.salesKey = salesKey;
	}

}
